pkgname=telepathy-glib
pkgver=0.24.1
pkgrel=1
pkgdesc="GLib bindings for the Telepathy D-Bus protocol"
arch="all"
url="http://telepathy.freedesktop.org"
license="LGPL2.1"
depends="dbus-glib"
makedepends="libxslt vala gobject-introspection python2 diffutils"
source="https://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	cd $srcdir/$pkgname-$pkgver
	PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
		--libexecdir=/usr/lib/telepathy \
		--enable-vala-bindings \
		--enable-static=no
	make
}

package() {
	cd $srcdir/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install
}
sha512sums="2fed94f76a19d6069f671cdd45d2fd8a4b4ad27c4601aff66041ca205456be397c76a86f92cc9bf20fa4eb6d4c15a67ed8196644c143c37e945f382229a63335  telepathy-glib-0.24.1.tar.gz"
